/*    */ package com.chw.admin.finishedGoods;
/*    */ 
/*    */ import com.github.pagehelper.PageHelper;
/*    */ import com.github.pagehelper.PageInfo;
/*    */ import java.util.List;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.stereotype.Service;
/*    */ 
/*    */ @Service
/*    */ public class ChwFinishedGoodsService
/*    */   implements IChwFinishedGoodsService
/*    */ {
/*    */ 
/*    */   @Autowired
/*    */   private ChwFinishedGoodsMapper chwFinishedGoodsMapper;
/*    */ 
/*    */   public PageInfo<ChwFinishedGoods> find(ChwFinishedGoods chwFinishedGoods, Integer currentPage, Integer pageSize)
/*    */   {
/* 18 */     PageHelper.startPage(currentPage.intValue(), pageSize.intValue());
/* 19 */     List list = this.chwFinishedGoodsMapper.findByChwFinishedGoods(chwFinishedGoods);
/* 20 */     return new PageInfo(list);
/*    */   }
/*    */ }

/* Location:           E:\chenya\haha\admin java\finishedGoods\
 * Qualified Name:     com.chw.admin.finishedGoods.ChwFinishedGoodsService
 * JD-Core Version:    0.6.0
 */